{include template('theme')}
{include template('header')}
{include template('top')}
<div id="wrapper">

{php $ads = get_index_ads();}
{if $ads}
<div id="navpages">
<div class="textwidget">{$ads}</div>
</div>
{/if}
	
	
<div id="primaryTopWrapper">
{include template('right');}
<div id="primaryleft">
	{php $index_content = get_index_content();}
	{loop $index_content['content'] $content}
	<div class="featuredPost2">		
		<h2 class="postTitle"><a target="_blank" rel="bookmark" title="{$content['title']}" href="{url article.php?id=$content[aid]}">{$content['title']}</a></h2>
		{if $content['default_image']}<a href="{url article.php?id=$content[aid]}" target="_blank" class="postTitle_img"><img width="160" height="130" title="{$content['title']}" alt="{$content['title']}" class="alignleft wp-post-image" src="{$content['default_image']}"></a>{/if}										
		<p>{$content['summary']}</p>
		<span class="midColPostMeta">{echo gdate('Y年m月d日',$content['dateline']);}  <a href="{url article.php?id=$content[aid]}" target="_blank">{$content['views']} {lang views}</a> </span> 
	</div>
	{/loop}
	<div class="clear"></div>	
	{$index_content['pager']}
</div>	

{include template('left');}

<div class="clear"></div>
</div>
</div>

{include template('footer');}